package com.xtx.air.dataobject;

import java.util.Date;
import java.util.List;

import com.xtx.dataobject.PageInfo;

public class TradeDO extends PageInfo {

	private static final long serialVersionUID = 135600092066146909L;
	private Long tid;// 主键
	private String t_num;// 交易编号，自定义规则
	private Long daily_num;// 每天交易序号
	private String broading_date;// 登机日期\
	private Long fly_id;//航班ID
	private String fly_num;// 航班号
	private String fly_company;// 航空公司
	private String plane_type;// 机型
	private String start_airport;// 出发机场
	private String start_city;// 出发城市
	private String start_time;// 出发时间
	private String start_terminal;// 出发航站楼
	private String end_airport;// 到达机场
	private String end_city;// 到达城市
	private String end_time;// 到达时间
	private String end_terminal;// 到达航站楼
	private Long ticket_num;// 购买数量
	private String total_fee;// 交易金额
	private String trade_status;// 交易状态(WAITING_APPROVE,WAITING_PAYMENENT,ERROR,FINISHED,CANCELED,DELETED)
	private Date created_time;// 创建时间
	private Date modified_time;// 修改时间
	private Date finished_time;// 结束时间，买家确认或付款时间
	private Date pay_time;// 付款时间
	private String user_id;// 购买用户ID
	private String user_name;// 购买用户名
	private String ticket_type;// 机票方式(电子机票，纸质机票)

	private List<TradeDetailsDO> tradeDetails;// 明细信息

	public Long getTid() {
		return tid;
	}

	public void setTid(Long tid) {
		this.tid = tid;
	}

	public String getT_num() {
		return t_num;
	}

	public void setT_num(String t_num) {
		this.t_num = t_num;
	}

	public String getBroading_date() {
		return broading_date;
	}

	public void setBroading_date(String broading_date) {
		this.broading_date = broading_date;
	}

	public String getFly_num() {
		return fly_num;
	}

	public void setFly_num(String fly_num) {
		this.fly_num = fly_num;
	}

	public String getFly_company() {
		return fly_company;
	}

	public void setFly_company(String fly_company) {
		this.fly_company = fly_company;
	}

	public String getPlane_type() {
		return plane_type;
	}

	public void setPlane_type(String plane_type) {
		this.plane_type = plane_type;
	}

	public String getStart_airport() {
		return start_airport;
	}

	public void setStart_airport(String start_airport) {
		this.start_airport = start_airport;
	}

	public String getStart_city() {
		return start_city;
	}

	public void setStart_city(String start_city) {
		this.start_city = start_city;
	}

	public String getStart_time() {
		return start_time;
	}

	public void setStart_time(String start_time) {
		this.start_time = start_time;
	}

	public String getStart_terminal() {
		return start_terminal;
	}

	public void setStart_terminal(String start_terminal) {
		this.start_terminal = start_terminal;
	}

	public String getEnd_airport() {
		return end_airport;
	}

	public void setEnd_airport(String end_airport) {
		this.end_airport = end_airport;
	}

	public String getEnd_city() {
		return end_city;
	}

	public void setEnd_city(String end_city) {
		this.end_city = end_city;
	}

	public String getEnd_time() {
		return end_time;
	}

	public void setEnd_time(String end_time) {
		this.end_time = end_time;
	}

	public String getEnd_terminal() {
		return end_terminal;
	}

	public void setEnd_terminal(String end_terminal) {
		this.end_terminal = end_terminal;
	}

	public Long getTicket_num() {
		return ticket_num;
	}

	public void setTicket_num(Long ticket_num) {
		this.ticket_num = ticket_num;
	}

	public String getTotal_fee() {
		return total_fee;
	}

	public void setTotal_fee(String total_fee) {
		this.total_fee = total_fee;
	}

	public String getTrade_status() {
		return trade_status;
	}

	public void setTrade_status(String trade_status) {
		this.trade_status = trade_status;
	}

	public Date getCreated_time() {
		return created_time;
	}

	public void setCreated_time(Date created_time) {
		this.created_time = created_time;
	}

	public Date getModified_time() {
		return modified_time;
	}

	public void setModified_time(Date modified_time) {
		this.modified_time = modified_time;
	}

	public Date getFinished_time() {
		return finished_time;
	}

	public void setFinished_time(Date finished_time) {
		this.finished_time = finished_time;
	}

	public Date getPay_time() {
		return pay_time;
	}

	public void setPay_time(Date pay_time) {
		this.pay_time = pay_time;
	}

	public String getUser_id() {
		return user_id;
	}

	public void setUser_id(String user_id) {
		this.user_id = user_id;
	}

	public String getUser_name() {
		return user_name;
	}

	public void setUser_name(String user_name) {
		this.user_name = user_name;
	}

	public String getTicket_type() {
		return ticket_type;
	}

	public void setTicket_type(String ticket_type) {
		this.ticket_type = ticket_type;
	}

	public List<TradeDetailsDO> getTradeDetails() {
		return tradeDetails;
	}

	public void setTradeDetails(List<TradeDetailsDO> tradeDetails) {
		this.tradeDetails = tradeDetails;
	}

	public Long getDaily_num() {
		return daily_num;
	}

	public void setDaily_num(Long daily_num) {
		this.daily_num = daily_num;
	}

	public Long getFly_id() {
		return fly_id;
	}

	public void setFly_id(Long fly_id) {
		this.fly_id = fly_id;
	}
}